home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
comm
/
lib232.zip
/
MAKELIST.DOC
< prev
next >
Wrap
Text File
|
1990-10-14
|
16KB
|
299 lines
M a k e L i s t
Version 1.01
Add-on Command For
The Liberator v2.3
Copyright (C) 1990 Liberation Enterprises
All rights reserved.
~~~
DESCRIPTION: MakeList (MAKELIST.SLC) is a compiled Telix SALT script
that will send user-defined commmands to a BBS, then capture the results
of the commands to any file. Its purpose is to allow you to capture the
results of a Locate, New Files, or Zippy Scan command from either
PCBoard or ProDoor. The resulting text is then automatically formatted
for use as a Liberator Download List and can be used for downloading in
the same session. If desired, you may also manually edit the list prior
to downloading. You define the BBS command(s) to send, and File List
name in one of the Custom Command(s) options of a Liberator v2.3 Command
File (preferably Custom Command 2). MakeList will not work with earlier
versions of The Liberator.
Standard conventions are used in this document to help illustrate
syntax:
o Text inside two angle brackets <label> is used as a reference to a
certain items. Do not type in the <label> itself, but instead
substitute it with actual text as defined below.
o Square brackets [] surround optional items. You can leave these
items out if desired, but do not include the brackets if used.
o A vertical bar | means OR, when more than one option is available.
The actual options to use will be on either side of the bar. Do
not specify the actual |.
o n1, n2, etc., signifies a number (1,2,10,50, etc).
o Three periods ... means that more items of the same form may
follow.
Now, hopefully this line below will make some sense, and not look like
secret code:
USAGE: @MakeList <list> <command> [/d|/e][/#n1[,n2]...][/Edit]
Each item is explained below. Note that <list> MUST be the first item
specified, but following items may appear in any order. <command> must
be separated from other options by either a space or a foward slash (/).
If you precede <command> with a switch, make sure you leave a space
between the two. If you follow <command> with a switch, no space is
necessary since MakeList will recognize the / as a switch. Note that
The L i b e r a t o r v2.32 MAKELIST.DOC - Page 2
with some program's command line switches, you may substitute the slash
(/) with a hyphen (-), but this was not implemented in MakeList.
@MakeList = The '@' character, when used in a Liberator Custom Command,
means to run a script. @MakeList (or @makelist @MAKELIST)
tells The Liberator to run the script MAKELIST.SLC, which
should have accompanied this document. The script must be
located in the current directory, or in the directory
defined with the Telix <Alt-O> command as your 'Script
Directory'. If you don't have a script directory defined in
Telix, it is highly recommended that you do so immediately,
then copy MAKELIST.SLC (and The Liberator) into the defined
directory.
<list> = Name of file to capture results of <command> to. The
filename can be specified in two forms:
[d:][\path\]LISTNAME[.ext] -- An actual filename (drive,
path and extension optional) or:
%D (or %d) -- Causes The Liberator to use the file named in
the "Download List" option of the currently executing
Command File. If you specify %D without defining a filename
in the Download List option of the same Command File, The
Liberator will construct a filename, comprised of the name
of the current Command File, plus the extension .DL (for
Download List).
<command> = PCBoard/ProDoor command(s) to send to the BBS (F)ile
Directories, N)ew Files, L)ocate, Z)ippy Scan, etc.) If you
define the @MakeList command line in Custom Command 1, then
<command> will be sent to PCBoard (unless you are already in
ProDoor for some reason). If you define the command in
Custom Command 2, and a ProDoor is defined in the CFG file,
ProDoor will be opened and the script will execute there,
allowing you to take advantage of ProDoor commands, and
batch transfers (this is a function of The Liberator, and
occurs with all Custom Commands). It is recommended that
you use Custom Command 2 whenever possible with MakeList.
To specify a Ctrl (control) character within <command> (such
as Carriage Return which is Ctrl-M), precede the character
with a caret (^). A vertical bar (|) in <command> causes a
^M (<Enter>), then waits for one of the eight Liberator
'key' prompts defined in each Configuration. Use either the
| or ^M to specify more than one command if desired. A
tilde (~) may also be used to specify a half-second pause.
See the examples below for uses of these characters in
<command>. ^M is always sent after the final character of
<command>, so you need not specify the final carriage
return. If you do specify a trailing ^M, then two carriage
returns will be sent.
The L i b e r a t o r v2.32 MAKELIST.DOC - Page 3
The "More" (PCBoard) and "ProDoor More" prompts (defined in
each Liberator Configuration) are automatically handled by
MakeList by sending NS (Non-Stop) when found. The "Pause"
prompt is also handled as usual by sending a carriage
return. Most times you will add an NS (non-stop) to the end
of <command> to avoid the 'More' prompt, but if you forget,
MakeList will handle these prompts for you. If MakeList
hangs at either of these prompts due to a different prompt
format, you may reconfigure both directly in the board's
Liberator CFG File, since MakeList gets the prompts directly
from the Configuration.
/d|/e All text resulting from <command> is captured and inserted
at the BEGINNING of <list> if it already exists. (This is to
allow quick editing, and so newly listed files will be
downloaded first.) To change this, use the /d or /e switch
(or /E /D if you prefer). /d causes <list> to be Deleted if
it is found, /e causes captured text to be appended to the
End of <list>, if it already exists.
/#n1[,n2] = Specifies conference(s) to execute <command> in. This
option, if used, must start with the '/#' characters, and NO
SPACES are permitted until all conferences are specified.
You may use as many conference numbers as will fit in the
Custom Commmand (64 character maximum), each separated by a
comma, or omit this option entirely to execute <command>
only in the current conference. If more than one conference
is specified, <command> will be sent to the BBS in each of
the conferences. Commas are only necessary when more than